package com.qf.service;

import com.qf.pojo.Test;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient("hospital-admin")
public interface TestAdminService {

    @RequestMapping(value = "/admin", method = RequestMethod.GET)
    public List<Test> admin();

}
